fi,DISABLE_LAME=)
PACKAGE=swftools
-VERSION=2010-02-06-1900
+VERSION=2010-05-20-1815
# ------------------------------------------------------------------
BOOL CALLBACK PropertySheetFunc4(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) {
if(message == WM_INITDIALOG) {
- pdf2swf_dir = concatPaths(install_path, "gpdf2swf");
+ pdf2swf_dir = install_path; //concatPaths(install_path, "gpdf2swf");
pdf2swf_path = concatPaths(pdf2swf_dir, "gpdf2swf.exe");
FILE*fi = fopen(pdf2swf_path, "rb");
if(fi) {
ln -f /xpython/xpython.exe ./gpdf2swf.exe
#ln -f gpdf2swf.exe ../win32_gui/
ln -f gpdf2swf.exe ../win32/
+ cp -R viewers/* ../win32/viewers/
.PHONY: exe
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-from main import *
-from dialogs import *
def import_viewers(self):
for file in self.viewers:
- _temp = imp.load_source("viewers.%s" % file, os.path.join(os.getcwdu(), "viewers/%s.py" % file))
- self.modules.append(_temp)
+ try:
+ _temp = imp.load_source("viewers.%s" % file, os.path.join(os.getcwdu(), "viewers/%s.py" % file))
+ self.modules.append(_temp)
+ except:
+ print "Could not load %s" % file